// swift-tools-version: 5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "molecular-redirect",
    platforms: [.macOS(.v12)],
    products: [
        .library(name: "MolecularRedirect",targets: ["MolecularRedirect"]),
    ],
    dependencies: [
        .package(url: "https://gitee.com/git-forking/molecular-redirect-objects", branch: "master"),
        .package(url: "https://gitee.com/git-forking/molecular-core.git", branch: "master"),
    ],
    targets: [
        .target(
            name: "MolecularRedirect",
            dependencies: [
                .product(name: "Molecular", package: "molecular-core"),
                .product(name: "MolecularRedirectObjects", package: "molecular-redirect-objects"),
            ]),
        .testTarget(
            name: "molecular-redirectTests",
            dependencies: ["MolecularRedirect"]),
    ]
)
